package cn.iocoder.yudao.module.system.controller.admin.bookcollection.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 完成绘本集创建 Request VO")
@Data
public class BookcollectionVO {

    @Schema(description = "绘本集名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "经典童话故事集")
    @NotNull(message = "绘本集名称不能为空")
    private String title;

    @Schema(description = "临时封面标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "550e8400-e29b-41d4-a716-446655440000")
    @NotNull(message = "临时封面标识不能为空")
    private String tempKey;

    @Schema(description = "关联的绘本ID数组", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "关联的绘本ID不能为空")
    private List<Long> bookIds;

} 